package com.herui.ota.dao.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.herui.ota.entity.DeviceOtaConfig;
import com.herui.ota.pojo.dto.DeviceOtaSeriesChannel;
import com.herui.ota.pojo.form.DeviceOtaConfigFilterForm;
import com.herui.ota.pojo.vo.DeviceOtaConfigVo;
import com.herui.ota.pojo.vo.DeviceOtaVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * author name: amanda.shan
 * create time: 2024-04-09 16:55:12
 */ 
public interface DeviceOtaConfigMapper extends BaseMapper<DeviceOtaConfig>{

    Page<DeviceOtaConfigVo> listDeviceOtaConfigVoPage(Page<DeviceOtaConfigVo> page,
                                                      @Param("filter")DeviceOtaConfigFilterForm filter);
    DeviceOtaSeriesChannel findDeviceOtaSeriesChannel(@Param("series")String series,  @Param("channel")String channel);
}

